<div class="grid_12">
	<div class="box sep">
		<ul class="list">
			
		<?php
		if(!empty($data['data'])){
		foreach($data['data'] as $key=>$val){
		?>
		
		<li>
			<a class="right" href="<?=n_url('del')?>&db=<?=$data['db']?>&cl=<?=$data['cl']?>&id=<?=$key?>">删除</a>
			
			<span style="color:red;"><?=$key?></span>
			:
			<?php
			
			if(!empty($val)){
				foreach($val as $key1=>$val1){
					if('data'==$key1 && in_array($val['extend'],array('gif','png','jpg'))){
			?>
					<img src="/<?=$data['db']?>/<?=$data['cl']?>/<?=$key?>.<?=$val['extend']?>" />
			<?php
					}elseif('data'==$key1){
			?>
					<a href="<?=n_url('download')?>&db=<?=$data['db']?>&cl=<?=$data['cl']?>&id=<?=$key?>.<?=$val1['extend']?>" />下载</a>					
			<?php
					}else{
			?>
				<?=$key1?>:<?=$val1?>;
			<?php	
					}
				}
			}
			?>
			</li>
		<?php
		}
		}
		?>
		</ul>
	</div>
</div>